package com.lovecanon.jzjl.common;

public class DataGridModel {
    private static final long serialVersionUID = 7232798260610351343L;

    private int offset = 1; // 当前页,名字必须为page

    private int limit = -1; // 每页大小,名字必须为rows

    private String ordername = null; // 排序字段

    private String order = "asc"; // 排序规则

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public String getOrdername() {
        return ordername;
    }

    public void setOrdername(String ordername) {
        this.ordername = ordername;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

}
